package cn.kdyzm.http.ssl;

import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSession;

/**
 * @author kdyzm
 * @date 2022/11/29
 */
public enum TrustAllHostNames implements HostnameVerifier {
    /**
     * 实例
     */
    INSTANCE;

    @Override
    public boolean verify(String s, SSLSession sslSession) {
        return true;
    }
}
